.carousel {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.car-show {
    display: flex;
    transition-property: transform;
}

.car-show li {
    position: relative;
    width: var(--width);
    overflow: hidden;
}

.car-show img {
    display: block;
    width: 100%;
}

.car-shadow {
    width: 100%;
    height: 3.5rem;
    position: absolute;
    left: 0;
    bottom: 0;
}

.car-content {
    width: 100%;
    position: absolute;
    left: 0;
    bottom: 0;
    box-sizing: border-box;
    padding: 0.4rem;
    line-height: 0.6rem;
    user-select: none;
    pointer-events: none;
}

.car-content h2 {
    font-size: 0.5rem;
    color: white;
    /* 文本超出两行即隐藏末尾加上... */
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.car-content div {
    color: rgb(255, 255, 255, 0.6);
    font-size: 0.28rem;
}

.car-nav {
    position: absolute;
    bottom: 0.35rem;
    right: 0.5rem;
    display: flex;
}

.car-nav li {
    width: 0.08rem;
    height: 0.08rem;
    background-color: rgb(255, 255, 255, 0.6);
    border-radius: 0.04rem;
    margin: 0 0.1rem;
    transition: width 0.5s;
}

.car-nav li.cut {
    width: 0.4rem;
    background-color: white;
    border-radius: 0.04rem;
}
